/**
 * urlMap
 * url映射
 * author:zyc
 */

export default {
  /**
   * 系统模块
   */
  SYSTEM: {
    getKeywordsDataDate: '/api-taobao/system/getKeywordsDataDate', // 获取关键词更新时间
    getDataDate: '/api-taobao/system/getDataDate', // 获取数据更新时间
    getDataMonth: '/api-taobao/system/getDataMonth', // 获取最新数据月份
    getUserPaths: '/api-taobao/system/getUserPaths', // 获取用户路由表
    getUserAuthConfig: '/api-taobao/system/getUserAuthConfig', // 获取用户信息表
    times: '/api-taobao/system/times' // 保存用户使用时长
  },
  /**
   * 登录模块
   */
  LOGIN: {
    signIn: '/authority/user/signIn',
    signUp: '/authority/user/signUp',
    verify: '/authority/user/login/verify',
    updatePasswordAfterSign: '/authority/user/updatePasswordAfterSign', // 修改密码
    signOut: '/authority/user/signOut', // 登出
    sendVerifySMS: '/authority/user/sendVerifySMS', // 手机验证码
    resetPassword: '/authority/user/resetPassword' // 重置密码
  },
  /**
   * 类目模块
   */
  CAT: {
    getFirstLevelCategories: '/api-taobao/category/base/getUserFirstLevelCategories', // 获取第一级类目（市场）
    getSubCategories: '/api-taobao/category/base/getUserSubCategories'
  },
  /**
   * 行业模块
   */
  DASHBOARD: {
    // 行业规模
    getCategorySaleInfoThisMonth: '/api-taobao/category/scale/getCategorySaleInfoThisMonth', // 获取类目本月数据 card用
    getSubCategorySaleInfo: '/api-taobao/category/scale/getSubCategorySaleInfo', // 获取类目时间范围数据
    downloadSubCategorySaleInfo: '/api-taobao/category/scale/downloadSubCategorySaleInfo', // 下载子类目销售数据
    // 行业趋势
    getSubCategoriesSaleTrend: '/api-taobao/category/trend/getSubCategoriesSaleTrend',
    downloadSubCategoriesSaleTrend: '/api-taobao/category/trend/downloadSubCategoriesSaleTrend', // download
    // 行业地域
    getCategoryRegionSaleInfoThisMonth: '/api-taobao/category/region/getCategoryRegionSaleInfoThisMonth', // 获取地域本月数据 card用
    getCategoryRegionSaleInfo: '/api-taobao/category/region/getCategoryRegionSaleInfo', // 获取地域类目数据
    downloadCategoryRegionSaleInfo: '/api-taobao/category/region/downloadCategoryRegionSaleInfo', // 下载地域
    // 行业品牌
    getCategoryBrandRankingData: '/api-taobao/category/brand/getCategoryBrandRankingData', // 行业品牌排行数据
    // 行业店铺
    getCategoryShopRankingData: '/api-taobao/category/shop/getCategoryShopRankingData', // 行业店铺排行数据
    // 行业宝贝
    getCategoryProductRankingData: '/api-taobao/category/product/getCategoryProductRankingData', // 行业宝贝排行数据
    // 行业关键词
    getKeywordsQuota: '/api-taobao/category/keywords/getKeywordsQuota',

    // 行业内容
    flow: '/api-taobao/category/analysis/trend/flow', // 社媒流量趋势:流量曝光指数
    trendChannel: '/api-taobao/category/analysis/trend/channel', // 社媒流量趋势:渠道投放指数
    portraits: '/api-taobao/category/analysis/user/portraits', // 社媒受众分析:受众画像
    ranking: '/api-taobao/category/analysis/flow/ranking', // 社媒流量分析:排行
    flowChannel: '/api-taobao/category/analysis/flow/channel' // 社媒流量分析:投放渠道分析
  },
  /**
   * 属性模块
   */
  ATTR: {
    // 获取行业属性
    getCategoryPropKeys: '/api-taobao/prop/base/getCategoryPropKeys',
    // 常规属性规模分析
    getCategoryNormalScale: '/api-taobao/prop/scale/getCategoryNormalScale',
    // 获取价格属性规模分析（权限）
    getCategoryPriceScale: '/api-taobao/prop/scale/getCategoryPriceScale',

    // 属性趋势
    getCategoryNormalPropTrend: '/api-taobao/prop/trend/getCategoryNormalPropTrend', // 属性趋势:常规属性趋势分析
    getCategoryPriceTrend: '/api-taobao/prop/trend/getCategoryPriceTrend', // 属性趋势:价格趋势分析

    // 交叉属性
    getCategoryProps: '/api-taobao/prop/cross/getCategoryProps',
    getExistCrossProps: '/api-taobao/prop/cross/getExistCrossProps',
    // sell
    getCrossPropSaleTrend: '/api-taobao/prop/cross/getCrossPropSaleTrend',
    getCrossPropProductList: '/api-taobao/prop/cross/getCrossPropProductList'
  },
  /**
   * 品牌模块
   */
  BRAND: {
    getUserBrandList: '/api-taobao/brand/list/getUserBrandList', // 获取用户关注品牌列表
    searchBrandList: '/api-taobao/brand/focus/searchBrandList',
    getFocusBrandNames: '/api-taobao/brand/focus/getFocusBrandNames',
    getFocusNum: '/api-taobao/brand/focus/getFocusNum', // 获取品牌关注数
    focusBrand: '/api-taobao/brand/focus/focusBrand', // 行业品牌关注
    cancelBrand: '/api-taobao/brand/focus/cancelBrand', // 行业品牌取消关注
    // detail
    getUserBrandSaleInfo: '/api-taobao/brand/list/getUserBrandSaleInfo',
    // sell品牌销售
    getFirstLevelCategories: '/api-taobao/brand/category/getFirstLevelCategories', // detail 品牌类目
    getSubCategories: '/api-taobao/brand/category/getSubCategories', // detail 品牌子类目
    // 品牌日销售数据
    getBrandCategoryDaySaleTrend: '/api-taobao/brand/trend/getBrandCategoryDaySaleTrend',
    // 品牌月销售数据
    getBrandCategoryMonthSaleTrend: '/api-taobao/brand/trend/getBrandCategoryMonthSaleTrend',
    // price 品牌价格
    getBrandPriceSale: '/api-taobao/brand/price/getBrandPriceSale',
    // 品牌地域
    getBrandRegionSale: '/api-taobao/brand/region/getBrandRegionSale',
    // 品牌店铺
    getBrandShopSale: '/api-taobao/brand/shop/getBrandShopSale',
    // 品牌类目
    getBrandCategorySale: '/api-taobao/brand/category/getBrandCategorySale',
    // 品牌宝贝
    getBrandProductSale: '/api-taobao/brand/product/getBrandProductSale',
    // 品牌对比
    getContrastBrandList: '/api-taobao/brand/contrast/getContrastBrandList',
    getContrastBrandInfo: '/api-taobao/brand/contrast/getContrastBrandInfo',

    // 社媒受众分析:受众画像
    portraits: '/api-taobao/brand/analysis/user/portraits',
    // 社媒流量分析:投放渠道分析
    channel: '/api-taobao/brand/analysis/flow/channel',
    // 社媒流量分析:排行
    ranking: '/api-taobao/brand/analysis/flow/ranking',
    // 品牌趋势分析:流量曝光指数
    trendFlow: '/api-taobao/brand/trend/flow',
    // 品牌趋势分析:渠道投放指数
    trendChannel: '/api-taobao/brand/trend/channel'
  },
  /**
   * 店铺模块
   */
  SHOP: {
    getUserShopList: '/api-taobao/shop/list/getUserShopList', // 获取关注店铺列表
    searchShopList: '/api-taobao/shop/focus/searchShopList', // 搜索店铺
    getFocusNum: '/api-taobao/shop/focus/getFocusNum',
    getFocusUids: '/api-taobao/shop/focus/getFocusUids',
    focusShop: '/api-taobao/shop/focus/focusShop', // 店铺关注
    cancelShop: '/api-taobao/shop/focus/cancelShop', // 店铺关注取消
    // 店铺概况:获取店铺数据
    getUserShopData: '/api-taobao/shop/list/getUserShopData',
    // 店铺概况:获取店铺信息
    getShopInfo: '/api-taobao/shop/list/getShopInfo',
    // sell
    getShopDaySaleTrend: '/api-taobao/shop/trend/getShopDaySaleTrend',
    getShopMonthSaleTrend: '/api-taobao/shop/trend/getShopMonthSaleTrend',
    // brand
    getShopBrandSale: '/api-taobao/shop/brand/getShopBrandSale',
    // cat
    getShopCategorySale: '/api-taobao/shop/category/getShopCategorySale',
    // 店铺追踪
    getShopFollow: '/api-taobao/shop/follow/getShopFollow',

    getShopFollowFreePostageProducts: '/api-taobao/shop/follow/getShopFollowFreePostageProducts', // 店铺追踪:免邮宝贝列表
    getShopFollowComboProducts: '/api-taobao/shop/follow/getShopFollowComboProducts', // 店铺追踪:搭配减宝贝列表
    getShopFollowUpdateTitleProducts: '/api-taobao/shop/follow/getShopFollowUpdateTitleProducts', // 店铺追踪:改名宝贝列表
    getShopFollowUpdatePriceProducts: '/api-taobao/shop/follow/getShopFollowUpdatePriceProducts', // 店铺追踪:价格宝贝列表
    // price
    getShopPrice: '/api-taobao/shop/price/getShopPrice',
    // product
    getShopProducts: '/api-taobao/shop/product/getShopProducts',
    // compare
    getContrastShopList: '/api-taobao/shop/contrast/getContrastShopList',
    getContrastShopInfo: '/api-taobao/shop/contrast/getContrastShopInfo',
    // 获取店铺满减日趋势
    getContrastShopFullReductionDayTrend: '/api-taobao/shop/contrast/getContrastShopFullReductionDayTrend',
    // 获取店铺搭配减日趋势
    getContrastShopComboDayTrend: '/api-taobao/shop/contrast/getContrastShopComboDayTrend',
    // 取店铺免邮日趋势
    getContrastShopFreePostageDayTrend: '/api-taobao/shop/contrast/getContrastShopFreePostageDayTrend',
    // 店铺对比:获取店铺调价日趋势
    getContrastShopAdjustPriceDayTrend: '/api-taobao/shop/contrast/getContrastShopAdjustPriceDayTrend',
    // 店铺对比:获取店铺改名日趋势
    getContrastShopUpdateTitleDayTrend: '/api-taobao/shop/contrast/getContrastShopUpdateTitleDayTrend',

    // 社媒流量分析:投放渠道分析
    channel: '/api-taobao/shop/analysis/flow/channel',
    // 社媒流量分析:排行
    ranking: '/api-taobao/shop/analysis/flow/ranking',
    // 社媒受众分析:受众画像
    portraits: '/api-taobao/shop/analysis/user/portraits',
    // 店铺趋势分析:流量曝光指数
    flow: '/api-taobao/shop/trend/flow',
    // 店铺趋势分析:渠道投放指数
    trendChannel: '/api-taobao/shop/trend/channel',
    // 店铺趋势分析:流量曝光指数
    trendFlow: '/api-taobao/shop/trend/flow'
  },
  /**
   * 宝贝模块
   */
  PRODUCT: {
    getUserProductList: '/api-taobao/product/list/getUserProductList',
    searchProductList: '/api-taobao/product/focus/searchProductList', // 宝贝搜索关注
    getFocusNumberIds: '/api-taobao/product/focus/getFocusNumberIds', // 获取关注宝贝的numberids
    getFocusNum: '/api-taobao/product/focus/getFocusNum',
    focusProduct: '/api-taobao/product/focus/focusProduct',
    cancelProduct: '/api-taobao/product/focus/cancelProduct',
    // sell
    getProductSaleTrend: '/api-taobao/product/trend/getProductSaleTrend',
    getProductMonthSaleTrend: '/api-taobao/product/trend/getProductMonthSaleTrend',
    // 宝贝追踪
    activityFollow: '/api-taobao/product/follow/activityFollow', // 宝贝追踪:活动追踪
    priceFollow: '/api-taobao/product/follow/priceFollow', // 宝贝追踪:价格追踪
    titleFollow: '/api-taobao/product/follow/titleFollow', // 宝贝追踪:改名追踪
    getFollwProductSaleTrend: '/api-taobao/product/follow/getProductSaleTrend', // 宝贝追踪:活动/改名/调价后7天销量趋势
    // price
    getProductSalePrice: '/api-taobao/product/price/getProductSalePrice',

    // compare
    getContrastProductList: '/api-taobao/product/contrast/getContrastProductList',
    getContrastProductInfo: '/api-taobao/product/contrast/getContrastProductInfo',

    // 宝贝趋势分析:渠道投放指数
    trendChannel: '/api-taobao/product/trend/channel',
    // 宝贝趋势分析:流量曝光指数
    trendFlow: '/api-taobao/product/trend/flow',
    // 社媒流量分析
    channel: '/api-taobao/product/analysis/flow/channel', // 投放渠道分析
    channelDetail: '/api-taobao/product/analysis/flow/channel/detail', // 投放渠道分析详情
    media: '/api-taobao/product/analysis/flow/media', // 投放媒体分析
    mediaDetail: '/api-taobao/product/analysis/flow/media/detail', // 投放媒体分析渠道详情
    content: '/api-taobao/product/analysis/flow/content', // 投放内容分析
    // 社媒受众分析
    distributions: '/api-taobao/product/analysis/user/comment/distributions', // 评论分布
    comments: '/api-taobao/product/analysis/user/comments', // 受众评论
    portraits: '/api-taobao/product/analysis/user/portraits' // 受众画像
  }
};
